-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(companions-pane): Add new companions pane to saved trip editor and account settings screen #1289
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First round of comments. I have requested a change on the backend for sending emails to folks added as companions, so we can test the whole cycle.
@@ -48,6 +49,13 @@ const ExistingAccountDisplay = (props: Props) => { | |||
<FormattedMessage id="components.MobilityProfile.MobilityPane.header" /> | |||
) | |||
}, | |||
{ | |||
collapsible: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is an interesting feature that was in the mockup, although I'm split on whether to have it for this pane. I'll let the other reviewer weigh in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not the biggest fan of it here. I think this is a nice to have feature, but it doesn't make sense if this is the only section that uses it. If all the sections were collapsable I think this would make more sense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed
27da499
to
600fd50
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few tweaks for now, but I want to wait for backend fixes before I can test confirmed companions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor tweaks and we can proceed. Looking good otherwise.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree that the section should not be collapsible. Otherwise code looks good, haven't tested the actual interface yet
The |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code and interface both look great!
Description:
Add ui for trusted companion to the saved trip editor and account settings screens.
Sketch can be found here: https://www.sketch.com/s/3e1c091e-4fb3-4e51-8f17-86be7a8c7b1b
PR Checklist: